﻿@model L2C.Models.ListDealModel
<div style="" class="best_of_best_deal">
    <div class="bob_top">
        <div class="bob_title">
            <span class="obo_best">Mới nhất</span>
        </div>
    </div>
    <div id="slider" class="bob_content" style="width: 790px; height: 250px; overflow: hidden;">
        <ul>
            @* @foreach (var item in Model)
            { *@
            <li class="lislider" style="float: left;">
               @Html.DisplayFor(x => x.TopItem)
            </li>
            @*}*@
        </ul>
    </div>
    <span id="bob_prev"><a href="javascript:void(0);"></a></span><span id="bob_next"><a
        href="javascript:void(0);"></a></span>
    <script type="text/javascript">
        $(function () {
            $("#slider").easySlider({ auto: true, continuous: true, pause: 4000, speed: 500,
                prevId: 'bob_prev',
                prevText: '',
                nextId: 'bob_next',
                nextText: ''
            });
        });
    </script>
</div>
<script type="text/javascript">
    $(function () {
        var h1 = $(".leftContent").height();
        var h2 = 590;
        var h = h1 & gt; h2 ? h1 : h2;
        $(".leftContent,.rightContent .category").height(h);
    });

</script>
@section ListDeal {
    <div class="ls_cate_home_product">
        <div class="showproduct_cate new_deal">
            <div class="product_top">
                <div class="product_top_title">
                    <a class="active first" title="Sản phẩm mới" tabload="tab-deal-gan-day" data-link="/Deal-gan-day"
                        data="3" href="javascript:void(0)">Sản phẩm mới</a></div>
            </div>
            @Html.Partial("ListDeal", @Model.ListItem)            
            <div class="xicon">
            </div>
        </div>
    </div>
}
